enum DeviceType {
  None,
  Serial2_0,
  Serial3_0,
  Serial4_0,
  Serial6_0,
  Serial_mp,
  Serial2_1,
  Serial7_0,
}

enum ActionType { vertical, horizontal, platform }

class DeviceEntity {
  final String name; //名称
  final String image; //图片路径
  final String imageText; //文字图片
  final DeviceType flag; //类型标记
  final Map<String, List<Map<ActionType, int>>> actionMap;

  DeviceEntity({
    required this.actionMap,
    required this.name,
    required this.image,
    required this.flag,
    required this.imageText,
  });
}
